import request from '@/utils/request'

export function getList(params) {
  return request({
    url: '/api/partner/fetch',
    method: 'get',
    params
  })
}

export function Create(data) {
    return request({
      url: '/api/partner/create',
      method: 'post',
      data
    })
}

export function Update(data) {
    return request({
      url: '/api/partner/update',
      method: 'post',
      data
    })
}